home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 7 / CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso / • Adventureland • / • World Builder • / SpaceAdventure ••• / SpaceAdventure еее.rsrc / CDEF_32.txt < prev    next >
Text File  |  1992-01-01  |  20KB  |  355 lines

  1. start:
  2. 00000000  4E56 0000                link       A6, 0
  3. 00000004  342E 000C                move.w     D2, [A6 + 0xC]
  4. 00000008  0C42 0003                cmpi.w     D2, 0x3
  5. 0000000C  6A00 040C                bpl        +0x40E /* 0000041A */
  6. 00000010  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  7. 00000014  206E 000E                movea.l    A0, [A6 + 0xE]
  8. 00000018  A029                     syscall    HLock
  9. 0000001A  2450                     movea.l    A2, [A0]
  10. 0000001C  0C42 0002                cmpi.w     D2, 0x2
  11. 00000020  6700 03DC                beq        +0x3DE /* 000003FE */
  12. 00000024  362A 000C                move.w     D3, [A2 + 0xC]
  13. 00000028  966A 0008                sub.w      D3, [A2 + 0x8]
  14. 0000002C  382A 000E                move.w     D4, [A2 + 0xE]
  15. 00000030  986A 000A                sub.w      D4, [A2 + 0xA]
  16. 00000034  49FA 0458                lea.l      A4, [PC + 0x458 /* 0000048E, value 0x0, cstring "" */]
  17. 00000038  296A 0008 0000           move.l     [A4 + 0x0], [A2 + 0x8]
  18. 0000003E  296A 000C 0004           move.l     [A4 + 0x4], [A2 + 0xC]
  19. 00000044  0C42 0001                cmpi.w     D2, 0x1
  20. 00000048  6700 0310                beq        +0x312 /* 0000035A */
  21. 0000004C  0C2A 0000 0010           cmpi.b     [A2 + 0x10], 0x0
  22. 00000052  6700 03BC                beq        +0x3BE /* 00000410 */
  23. 00000056  206A 0004                movea.l    A0, [A2 + 0x4]
  24. 0000005A  D1FC 0000 004E           add.l      A0, 0x4E /* 'N' */
  25. 00000060  303C 000E                move.w     D0, 0xE
  26. label00000064:
  27. 00000064  3F20                     move.w     -[A7], -[A0]
  28. 00000066  51C8 FFFC                dbf        D0, -0x6 /* 00000064 */
  29. 0000006A  A89E                     syscall    PenNormal
  30. 0000006C  302E 0012                move.w     D0, [A6 + 0x12]
  31. 00000070  4EFB 00FE                jmp        [PC + D0.w - 0x2]
  32. 00000074  4EFA 000A                jmp        [PC + 0xA /* 00000080 */]
  33. 00000078  4EFA 008E                jmp        [PC + 0x8E /* 00000108 */]
  34. 0000007C  4EFA 0284                jmp        [PC + 0x284 /* 00000302 */]
  35. label00000080:
  36. 00000080  0C2A 0004 0011           cmpi.b     [A2 + 0x11], 0x4
  37. 00000086  6700 0268                beq        +0x26A /* 000002F0 */
  38. 0000008A  4EBA 03F0                jsr        [PC + 0x3F0 /* 0000047C */]
  39. 0000008E  4EBA 03E6                jsr        [PC + 0x3E6 /* 00000476 */]
  40. 00000092  206A 0004                movea.l    A0, [A2 + 0x4]
  41. 00000096  42A8 0044                clr.l      [A0 + 0x44]
  42. 0000009A  317C 0001 0048           move.w     [A0 + 0x48], 0x1
  43. 000000A0  317C 000C 004A           move.w     [A0 + 0x4A], 0xC
  44. 000000A6  4268 004C                clr.w      [A0 + 0x4C]
  45. 000000AA  4267                     clr.w      -[A7]
  46. 000000AC  486A 0028                pea.l      [A2 + 0x28]
  47. 000000B0  A88C                     syscall    StringWidth
  48. 000000B2  301F                     move.w     D0, [A7]+
  49. 000000B4  2F2C 0000                move.l     -[A7], [A4 + 0x0]
  50. 000000B8  E24B                     lsr        D3.w, 1
  51. 000000BA  5843                     addq.w     D3, 4
  52. 000000BC  D76F 0000                add.w      [A7 + 0x0], D3
  53. 000000C0  E24C                     lsr        D4.w, 1
  54. 000000C2  E248                     lsr        D0.w, 1
  55. 000000C4  9840                     sub.w      D4, D0
  56. 000000C6  D96F 0002                add.w      [A7 + 0x2], D4
  57. 000000CA  A893                     syscall    MoveTo
  58. 000000CC  486A 0028                pea.l      [A2 + 0x28]
  59. 000000D0  A884                     syscall    DrawString
  60. 000000D2  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  61. 000000D8  6700 0010                beq        +0x12 /* 000000EA */
  62. 000000DC  0C2A 00FF 0011           cmpi.b     [A2 + 0x11], 0xFF
  63. 000000E2  6700 0006                beq        +0x8 /* 000000EA */
  64. 000000E6  4EFA 025A                jmp        [PC + 0x25A /* 00000342 */]
  65. label000000EA:
  66. 000000EA  487A 03AA                pea.l      [PC + 0x3AA /* 00000496, value 0xAA55AA55 */]
  67. 000000EE  A89D                     syscall    PenPat
  68. 000000F0  3F3C 000B                move.w     -[A7], 0xB
  69. 000000F4  A89C                     syscall    PenMode
  70. 000000F6  203C 0001 0001           move.l     D0, 0x10001
  71. 000000FC  4EBA 0364                jsr        [PC + 0x364 /* 00000462 */]
  72. 00000100  4EBA 0386                jsr        [PC + 0x386 /* 00000488 */]
  73. 00000104  4EFA 023C                jmp        [PC + 0x23C /* 00000342 */]
  74. label00000108:
  75. 00000108  0C2E 0081 000B           cmpi.b     [A6 + 0xB], 0x81
  76. 0000010E  6700 00F0                beq        +0xF2 /* 00000200 */
  77. 00000112  0C2E 0008 000B           cmpi.b     [A6 + 0xB], 0x8
  78. 00000118  6700 0198                beq        +0x19A /* 000002B2 */
  79. 0000011C  4EBA 035E                jsr        [PC + 0x35E /* 0000047C */]
  80. 00000120  4EBA 0354                jsr        [PC + 0x354 /* 00000476 */]
  81. 00000124  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  82. 0000012A  6700 0216                beq        +0x218 /* 00000342 */
  83. 0000012E  0C2A 00FF 0011           cmpi.b     [A2 + 0x11], 0xFF
  84. 00000134  6700 020C                beq        +0x20E /* 00000342 */
  85. 00000138  42A7                     clr.l      -[A7]
  86. 0000013A  A8D8                     syscall    NewRgn
  87. 0000013C  265F                     movea.l    A3, [A7]+
  88. 0000013E  A8DA                     syscall    OpenRgn
  89. 00000140  B644                     cmp.w      D3, D4
  90. 00000142  6A00 0056                bpl        +0x58 /* 0000019A */
  91. 00000146  3F2C 0002                move.w     -[A7], [A4 + 0x2]
  92. 0000014A  3F2C 0000                move.w     -[A7], [A4 + 0x0]
  93. 0000014E  5E57                     addq.w     [A7], 7
  94. 00000150  A893                     syscall    MoveTo
  95. 00000152  2F3C FFF9 0007           move.l     -[A7], 0xFFF90007
  96. 00000158  A892                     syscall    Line
  97. 0000015A  2F3C 000E 0000           move.l     -[A7], 0xE0000
  98. 00000160  A892                     syscall    Line
  99. 00000162  2F3C FFF9 FFF9           move.l     -[A7], 0xFFF9FFF9
  100. 00000168  A892                     syscall    Line
  101. 0000016A  3F2C 0006                move.w     -[A7], [A4 + 0x6]
  102. 0000016E  5357                     subq.w     [A7], 1
  103. 00000170  3F2C 0000                move.w     -[A7], [A4 + 0x0]
  104. 00000174  5E57                     addq.w     [A7], 7
  105. 00000176  A893                     syscall    MoveTo
  106. 00000178  2F3C FFFA FFFA           move.l     -[A7], 0xFFFAFFFA
  107. 0000017E  A892                     syscall    Line
  108. 00000180  2F3C 000C 0000           move.l     -[A7], 0xC0000
  109. 00000186  A892                     syscall    Line
  110. 00000188  2F3C FFFA 0006           move.l     -[A7], 0xFFFA0006
  111. 0000018E  A892                     syscall    Line
  112. 00000190  203C 0003 0007           move.l     D0, 0x30007
  113. 00000196  4EFA 0050                jmp        [PC + 0x50 /* 000001E8 */]
  114. label0000019A:
  115. 0000019A  3F2C 0002                move.w     -[A7], [A4 + 0x2]
  116. 0000019E  5E57                     addq.w     [A7], 7
  117. 000001A0  3F2C 0000                move.w     -[A7], [A4 + 0x0]
  118. 000001A4  A893                     syscall    MoveTo
  119. 000001A6  2F3C 0007 FFF9           move.l     -[A7], 0x7FFF9
  120. 000001AC  A892                     syscall    Line
  121. 000001AE  2F3C 0000 000D           move.l     -[A7], 0xD /* '\r' */
  122. 000001B4  A892                     syscall    Line
  123. 000001B6  2F3C FFFA FFFA           move.l     -[A7], 0xFFFAFFFA
  124. 000001BC  A892                     syscall    Line
  125. 000001BE  3F2C 0002                move.w     -[A7], [A4 + 0x2]
  126. 000001C2  5E57                     addq.w     [A7], 7
  127. 000001C4  3F2C 0004                move.w     -[A7], [A4 + 0x4]
  128. 000001C8  A893                     syscall    MoveTo
  129. 000001CA  2F3C FFF9 FFF9           move.l     -[A7], 0xFFF9FFF9
  130. 000001D0  A892                     syscall    Line
  131. 000001D2  2F3C 0000 000D           move.l     -[A7], 0xD /* '\r' */
  132. 000001D8  A892                     syscall    Line
  133. 000001DA  2F3C 0007 FFF9           move.l     -[A7], 0x7FFF9
  134. 000001E0  A892                     syscall    Line
  135. 000001E2  203C 0007 0003           move.l     D0, 0x70003
  136. label000001E8:
  137. 000001E8  4EBA 0278                jsr        [PC + 0x278 /* 00000462 */]
  138. 000001EC  4EBA 0288                jsr        [PC + 0x288 /* 00000476 */]
  139. 000001F0  2F0B                     move.l     -[A7], A3
  140. 000001F2  A8DB                     syscall    CloseRgn
  141. 000001F4  2F0B                     move.l     -[A7], A3
  142. 000001F6  A8D3                     syscall    PaintRgn
  143. 000001F8  2F0B                     move.l     -[A7], A3
  144. 000001FA  A8D9                     syscall    DisposRgn/DisposeRgn
  145. 000001FC  4EFA 0144                jmp        [PC + 0x144 /* 00000342 */]
  146. label00000200:
  147. 00000200  2A2A 001C                move.l     D5, [A2 + 0x1C]
  148. 00000204  B644                     cmp.w      D3, D4
  149. 00000206  6A00 0056                bpl        +0x58 /* 0000025E */
  150. 0000020A  203C 0001 FFFF           move.l     D0, 0x1FFFF
  151. 00000210  4EBA 0250                jsr        [PC + 0x250 /* 00000462 */]
  152. 00000214  396C 0002 0006           move.w     [A4 + 0x6], [A4 + 0x2]
  153. 0000021A  4EBA 020A                jsr        [PC + 0x20A /* 00000426 */]
  154. 0000021E  DB6C 0002                add.w      [A4 + 0x2], D5
  155. 00000222  302A 001E                move.w     D0, [A2 + 0x1E]
  156. 00000226  D16C 0006                add.w      [A4 + 0x6], D0
  157. 0000022A  BA6A 001E                cmp.w      D5, [A2 + 0x1E]
  158. 0000022E  6B00 0010                bmi        +0x12 /* 00000240 */
  159. 00000232  302C 0002                move.w     D0, [A4 + 0x2]
  160. 00000236  396C 0006 0002           move.w     [A4 + 0x2], [A4 + 0x6]
  161. 0000023C  3940 0006                move.w     [A4 + 0x6], D0
  162. label00000240:
  163. 00000240  4EBA 0240                jsr        [PC + 0x240 /* 00000482 */]
  164. 00000244  302A 001E                move.w     D0, [A2 + 0x1E]
  165. 00000248  906A 001C                sub.w      D0, [A2 + 0x1C]
  166. 0000024C  5540                     subq.w     D0, 2
  167. 0000024E  916C 0006                sub.w      [A4 + 0x6], D0
  168. 00000252  916C 0002                sub.w      [A4 + 0x2], D0
  169. 00000256  4EBA 022A                jsr        [PC + 0x22A /* 00000482 */]
  170. 0000025A  4EFA 00E6                jmp        [PC + 0xE6 /* 00000342 */]
  171. label0000025E:
  172. 0000025E  203C FFFF 0001           move.l     D0, 0xFFFF0001
  173. 00000264  4EBA 01FC                jsr        [PC + 0x1FC /* 00000462 */]
  174. 00000268  396C 0000 0004           move.w     [A4 + 0x4], [A4 + 0x0]
  175. 0000026E  4EBA 01D4                jsr        [PC + 0x1D4 /* 00000444 */]
  176. 00000272  DB6C 0000                add.w      [A4 + 0x0], D5
  177. 00000276  302A 001E                move.w     D0, [A2 + 0x1E]
  178. 0000027A  D16C 0004                add.w      [A4 + 0x4], D0
  179. 0000027E  BA6A 001E                cmp.w      D5, [A2 + 0x1E]
  180. 00000282  6B00 0010                bmi        +0x12 /* 00000294 */
  181. 00000286  302C 0000                move.w     D0, [A4 + 0x0]
  182. 0000028A  396C 0004 0000           move.w     [A4 + 0x0], [A4 + 0x4]
  183. 00000290  3940 0004                move.w     [A4 + 0x4], D0
  184. label00000294:
  185. 00000294  4EBA 01EC                jsr        [PC + 0x1EC /* 00000482 */]
  186. 00000298  302A 001E                move.w     D0, [A2 + 0x1E]
  187. 0000029C  906A 001C                sub.w      D0, [A2 + 0x1C]
  188. 000002A0  5540                     subq.w     D0, 2
  189. 000002A2  916C 0004                sub.w      [A4 + 0x4], D0
  190. 000002A6  916C 0000                sub.w      [A4 + 0x0], D0
  191. 000002AA  4EBA 01D6                jsr        [PC + 0x1D6 /* 00000482 */]
  192. 000002AE  4EFA 0092                jmp        [PC + 0x92 /* 00000342 */]
  193. label000002B2:
  194. 000002B2  B644                     cmp.w      D3, D4
  195. 000002B4  6A00 0020                bpl        +0x22 /* 000002D6 */
  196. 000002B8  4EBA 016C                jsr        [PC + 0x16C /* 00000426 */]
  197. 000002BC  396C 0002 0006           move.w     [A4 + 0x6], [A4 + 0x2]
  198. 000002C2  302A 001C                move.w     D0, [A2 + 0x1C]
  199. 000002C6  D16C 0002                add.w      [A4 + 0x2], D0
  200. 000002CA  302A 001E                move.w     D0, [A2 + 0x1E]
  201. 000002CE  D16C 0006                add.w      [A4 + 0x6], D0
  202. 000002D2  4EFA 001C                jmp        [PC + 0x1C /* 000002F0 */]
  203. label000002D6:
  204. 000002D6  4EBA 016C                jsr        [PC + 0x16C /* 00000444 */]
  205. 000002DA  396C 0000 0004           move.w     [A4 + 0x4], [A4 + 0x0]
  206. 000002E0  302A 001C                move.w     D0, [A2 + 0x1C]
  207. 000002E4  D16C 0000                add.w      [A4 + 0x0], D0
  208. 000002E8  302A 001E                move.w     D0, [A2 + 0x1E]
  209. 000002EC  D16C 0004                add.w      [A4 + 0x4], D0
  210. label000002F0:
  211. 000002F0  203C 0001 0001           move.l     D0, 0x10001
  212. 000002F6  4EBA 016A                jsr        [PC + 0x16A /* 00000462 */]
  213. 000002FA  4EBA 0186                jsr        [PC + 0x186 /* 00000482 */]
  214. 000002FE  4EFA 0042                jmp        [PC + 0x42 /* 00000342 */]
  215. label00000302:
  216. 00000302  4EBA 0172                jsr        [PC + 0x172 /* 00000476 */]
  217. 00000306  203C 0001 0001           move.l     D0, 0x10001
  218. 0000030C  4EBA 0154                jsr        [PC + 0x154 /* 00000462 */]
  219. 00000310  4EBA 016A                jsr        [PC + 0x16A /* 0000047C */]
  220. 00000314  302A 0012                move.w     D0, [A2 + 0x12]
  221. 00000318  906A 0014                sub.w      D0, [A2 + 0x14]
  222. 0000031C  322C 0006                move.w     D1, [A4 + 0x6]
  223. 00000320  926C 0002                sub.w      D1, [A4 + 0x2]
  224. 00000324  C2C0                     mulu.w     D1, D0
  225. 00000326  302A 0016                move.w     D0, [A2 + 0x16]
  226. 0000032A  906A 0014                sub.w      D0, [A2 + 0x14]
  227. 0000032E  82C0                     divu.w     D1, D0
  228. 00000330  396C 0002 0006           move.w     [A4 + 0x6], [A4 + 0x2]
  229. 00000336  D36C 0006                add.w      [A4 + 0x6], D1
  230. 0000033A  4EBA 014C                jsr        [PC + 0x14C /* 00000488 */]
  231. 0000033E  4EFA 0002                jmp        [PC + 0x2 /* 00000342 */]
  232. label00000342:
  233. 00000342  206A 0004                movea.l    A0, [A2 + 0x4]
  234. 00000346  D1FC 0000 0030           add.l      A0, 0x30 /* '0' */
  235. 0000034C  303C 000E                move.w     D0, 0xE
  236. label00000350:
  237. 00000350  30DF                     move.w     [A0]+, [A7]+
  238. 00000352  51C8 FFFC                dbf        D0, -0x6 /* 00000350 */
  239. 00000356  4EFA 00B8                jmp        [PC + 0xB8 /* 00000410 */]
  240. label0000035A:
  241. 0000035A  42AE 0014                clr.l      [A6 + 0x14]
  242. 0000035E  4267                     clr.w      -[A7]
  243. 00000360  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  244. 00000364  2F0C                     move.l     -[A7], A4
  245. 00000366  A8AD                     syscall    PtInRect
  246. 00000368  101F                     move.b     D0, [A7]+
  247. 0000036A  6700 00A4                beq        +0xA6 /* 00000410 */
  248. 0000036E  0C2A 00FE 0011           cmpi.b     [A2 + 0x11], 0xFE
  249. 00000374  6600 000C                bne        +0xE /* 00000382 */
  250. 00000378  1D7C 00FE 0017           move.b     [A6 + 0x17], 0xFE
  251. 0000037E  4EFA 0090                jmp        [PC + 0x90 /* 00000410 */]
  252. label00000382:
  253. 00000382  0C2A 00FF 0011           cmpi.b     [A2 + 0x11], 0xFF
  254. 00000388  6700 0086                beq        +0x88 /* 00000410 */
  255. 0000038C  3D6E 0012 0016           move.w     [A6 + 0x16], [A6 + 0x12]
  256. 00000392  0C6E 000C 0012           cmpi.w     [A6 + 0x12], 0xC
  257. 00000398  6700 003A                beq        +0x3C /* 000003D4 */
  258. 0000039C  0C6E 0008 0012           cmpi.w     [A6 + 0x12], 0x8
  259. 000003A2  6600 006C                bne        +0x6E /* 00000410 */
  260. 000003A6  B644                     cmp.w      D3, D4
  261. 000003A8  6A00 0016                bpl        +0x18 /* 000003C0 */
  262. 000003AC  342C 0002                move.w     D2, [A4 + 0x2]
  263. 000003B0  E24C                     lsr        D4.w, 1
  264. 000003B2  D444                     add.w      D2, D4
  265. 000003B4  946E 000A                sub.w      D2, [A6 + 0xA]
  266. 000003B8  3542 0026                move.w     [A2 + 0x26], D2
  267. 000003BC  4EFA 0052                jmp        [PC + 0x52 /* 00000410 */]
  268. label000003C0:
  269. 000003C0  342C 0000                move.w     D2, [A4 + 0x0]
  270. 000003C4  E24B                     lsr        D3.w, 1
  271. 000003C6  D443                     add.w      D2, D3
  272. 000003C8  946E 0008                sub.w      D2, [A6 + 0x8]
  273. 000003CC  3542 0026                move.w     [A2 + 0x26], D2
  274. 000003D0  4EFA 003E                jmp        [PC + 0x3E /* 00000410 */]
  275. label000003D4:
  276. 000003D4  302E 000A                move.w     D0, [A6 + 0xA]
  277. 000003D8  906C 0002                sub.w      D0, [A4 + 0x2]
  278. 000003DC  322A 0016                move.w     D1, [A2 + 0x16]
  279. 000003E0  926A 0014                sub.w      D1, [A2 + 0x14]
  280. 000003E4  C2C0                     mulu.w     D1, D0
  281. 000003E6  302C 0006                move.w     D0, [A4 + 0x6]
  282. 000003EA  906C 0002                sub.w      D0, [A4 + 0x2]
  283. 000003EE  82C0                     divu.w     D1, D0
  284. 000003F0  D26A 0014                add.w      D1, [A2 + 0x14]
  285. 000003F4  5241                     addq.w     D1, 1
  286. 000003F6  3541 0026                move.w     [A2 + 0x26], D1
  287. 000003FA  4EFA 0014                jmp        [PC + 0x14 /* 00000410 */]
  288. label000003FE:
  289. 000003FE  206E 0008                movea.l    A0, [A6 + 0x8]
  290. 00000402  2050                     movea.l    A0, [A0]
  291. 00000404  216A 0008 0002           move.l     [A0 + 0x2], [A2 + 0x8]
  292. 0000040A  216A 000C 0006           move.l     [A0 + 0x6], [A2 + 0xC]
  293. label00000410:
  294. 00000410  206E 000E                movea.l    A0, [A6 + 0xE]
  295. 00000414  A02A                     syscall    HUnlock
  296. 00000416  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  297. label0000041A:
  298. 0000041A  4E5E                     unlink     A6
  299. 0000041C  205F                     movea.l    A0, [A7]+
  300. 0000041E  DFFC 0000 000C           add.l      A7, 0xC
  301. 00000424  4ED0                     jmp        [A0]
  302. fn00000426:
  303. 00000426  3204                     move.w     D1, D4
  304. 00000428  C2C1                     mulu.w     D1, D1
  305. 0000042A  82EA 0016                divu.w     D1, [A2 + 0x16]
  306. 0000042E  302A 0012                move.w     D0, [A2 + 0x12]
  307. 00000432  C0C4                     mulu.w     D0, D4
  308. 00000434  80EA 0016                divu.w     D0, [A2 + 0x16]
  309. 00000438  3540 001C                move.w     [A2 + 0x1C], D0
  310. 0000043C  D041                     add.w      D0, D1
  311. 0000043E  3540 001E                move.w     [A2 + 0x1E], D0
  312. 00000442  4E75                     rts
  313. fn00000444:
  314. 00000444  3203                     move.w     D1, D3
  315. 00000446  C2C1                     mulu.w     D1, D1
  316. 00000448  82EA 0016                divu.w     D1, [A2 + 0x16]
  317. 0000044C  302A 0012                move.w     D0, [A2 + 0x12]
  318. 00000450  C0C3                     mulu.w     D0, D3
  319. 00000452  80EA 0016                divu.w     D0, [A2 + 0x16]
  320. 00000456  3540 001C                move.w     [A2 + 0x1C], D0
  321. 0000045A  D041                     add.w      D0, D1
  322. 0000045C  3540 001E                move.w     [A2 + 0x1E], D0
  323. 00000460  4E75                     rts
  324. fn00000462:
  325. 00000462  D16C 0002                add.w      [A4 + 0x2], D0
  326. 00000466  916C 0006                sub.w      [A4 + 0x6], D0
  327. 0000046A  4840                     swap.w     D0
  328. 0000046C  D16C 0000                add.w      [A4 + 0x0], D0
  329. 00000470  916C 0004                sub.w      [A4 + 0x4], D0
  330. 00000474  4E75                     rts
  331. fn00000476:
  332. 00000476  2F0C                     move.l     -[A7], A4
  333. 00000478  A8A1                     syscall    FrameRect
  334. 0000047A  4E75                     rts
  335. fn0000047C:
  336. 0000047C  2F0C                     move.l     -[A7], A4
  337. 0000047E  A8A3                     syscall    EraseRect
  338. 00000480  4E75                     rts
  339. fn00000482:
  340. 00000482  2F0C                     move.l     -[A7], A4
  341. 00000484  A8A4                     syscall    InvertRect
  342. 00000486  4E75                     rts
  343. fn00000488:
  344. 00000488  2F0C                     move.l     -[A7], A4
  345. 0000048A  A8A2                     syscall    PaintRect
  346. 0000048C  4E75                     rts
  347. 0000048E  0000 0000                ori.b      D0, 0x0
  348. 00000492  0000 0000                ori.b      D0, 0x0
  349. 00000496  AA55                     syscall    KobeMgr
  350. 00000498  AA55                     syscall    KobeMgr
  351. 0000049A  AA55                     syscall    KobeMgr
  352. 0000049C  AA55                     syscall    KobeMgr
  353. 0000049E  AA55                     syscall    KobeMgr
  354. 000004A0  AA55                     syscall    KobeMgr
  355.